package movie.serlvet;

import java.util.List;

import movie.dao.MovieDao;
import movie.dao.impl.MovieDaoImpl;
import movie.entity.Movie;

import com.google.gson.Gson;

public class test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		MovieDao dao = new MovieDaoImpl();
		List<Movie> list = dao.showMovieList();
		for(Movie m : list){
			System.out.println(m.getId()+"\t"+m.getTitle());
		}
	}

}
